<template>
  <el-form
    :model="formData"
    ref="form"
    class="form-wrap"
    style="padding: 10px"
  >
    <el-form-item v-for="field in fields" :key="field.prop" :label="field.label">
     <span>{{formData[field.prop]}}</span>
    </el-form-item>
  </el-form>
</template>

<script>

export default {
  name: "personInfo",
  props: {
    formData: {
      type: Object,
      default: ()=>{}
    },
  },
  data() {
    return {
      fields:[]
    };
  },
  computed: {},
  methods: {},
};
</script>

<style lang="scss" scoped>
</style>